package day4;

import java.util.Scanner;

public class PointDemo {
	public static void main(String[] ages) {
		Scanner scanner = new Scanner(System.in);
		Point point1 = new Point();
		System.out.println("请输入point2的初始坐标：");
		Point point2 = new Point(scanner.nextInt(), scanner.nextInt());
		point1.movePoint(20, 30);
		point2.movePoint(20, 30);
	}
}
